import { IFormItem } from '@/base-ui/form/type'

export const singleTicketForm: IFormItem[] = [
  {
    label: '始发站',
    field: 'departureStation',
    type: 'input',
    placeholder: '请输入始发站'
  },
  {
    label: '目的站',
    field: 'destinationStation',
    type: 'input',
    placeholder: '请输入目的站'
  },
  {
    label: '运单号',
    field: 'headerInvoiceNo',
    type: 'input',
    placeholder: '请输入运单号',
    slotName: 'headerInvoiceNo'
  },
  {
    field: 'agentCode',
    label: '代理人',
    type: 'select',
    placeholder: '请选择代理人',
    optionValue: [],
    otherOptions: {
      multiple: true,
      ['collapse-tags']: true,
      clearable: true
    }
  },
  {
    label: '状态',
    field: 'status',
    type: 'select',
    placeholder: '请选择状态',
    optionValue: [
      {
        title: '全部',
        value: ''
      },
      {
        title: '正常',
        value: '1'
      },
      {
        title: '作废',
        value: '2'
      }
    ]
  }
]
